$(".shop-lpmo-sms").on("click", function () {
    $(".shop-lpm-translation-input").attr("placeholder", "手机号");
    $(".shop-lp-main").addClass("shop-lp-main-sms");
});

$(".shop-lpmo-pass").on("click", function () {
    $(".shop-lpm-translation-input").attr("placeholder", "邮箱/手机号");
    $(".shop-lp-main").removeClass("shop-lp-main-sms");
})

// 关闭弹窗
$(".shop-lp-shut-down").on("click", function () {
    $(".shop-landing-popup").hide();
});

$(".shop-lpm-verification-code button").on("click", getVerificationCodeClick);


function getVerificationCodeClick() {
    getVerificationCodeCountdown(60);







}


// 获取验证码倒计时
function getVerificationCodeCountdown(time) {
    $(".shop-lpm-verification-code button").off("click").text(time + " 秒后重新获取");
    var s = setInterval(function () {
        time--
        $(".shop-lpm-verification-code button").off("click").text(time + " 秒后重新获取");
        if (time == 0) {
            clearInterval(s)
            $(".shop-lpm-verification-code button").text("获取验证码").on("click", getVerificationCodeClick);
        }
    }, 1000);
}